Extending Shiny by enhancing user experience with shinyLP

😀 + 💻

Jasmine Dumas | @jasdumas | jasdumas.github.io

January 12, 2017

Hi Portland!

The shiny web framework package makes it easier to create R-powered web apps

Why should you care about this work?

I began buildng shiny apps in 2014

shinyGEO

Additional shiny add-on packages that increase usability

Cool shiny examples from the internet!

New Zealand Tourism website

New Zealand App

Tweet Analyzer

Tweet Analyzer

Twin Cities Bus

Twin Cities

Hartford Connecticut Crime

Hartford Crime

Letsrun.com Shoe Database

Hartford Crime

A quote from an influential R Programmer…

Here is the point…

We, as shiny developers need to prioritize user experience now that apps are getting more advanced and the user base is expanding!

There are ways to do that with landing home pages!

I developed an R package that helps make landing home pages called shinyLP

jumbotron <- function(header , content, button = TRUE,  ...){

  button_label = c(...)

  if (button){
    HTML(paste0("<div class='jumbotron'>
                <h1> ", header, "</h1>
                <p>", content ,"</p>",
                "<p><a class='btn btn-primary btn-lg' button id='tabBut'>", button_label, "</a></p>
                </div>") )

  } else {
    HTML(paste0("<div class='jumbotron'>
                <h1> ", header, "</h1>
                <p>", content ,"</p>",
                "</div>") )
  }

}

Orange you glad I’m showing examples of shinyLP…

shinyGEO

This shinyLP example is a-peeling…

shinyGEO

The End